/*
 * @Author: xiangrikui 1755283163@qq.com
 * @Date: 2024-06-19 15:56:25
 * @LastEditors: xiangrikui 1755283163@qq.com
 * @LastEditTime: 2024-06-20 13:50:13
 * @FilePath: \项目\src\services\demo\login.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { request } from '@umijs/max';

// 图形验证码

export async function kaptcha() {
    return request(`/api/user/kaptcha`, {
    method: 'GET',
    params: {
        userName,
        password,
        code,
      },
  });
}

//异步请求